package com.eight.cloud.payment.service.partnerpayments.wxcodepay.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import lombok.Data;

import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;

/**
 * @ClassName: QueryOrderByOutTradeNoRequest
 * @Author: TXC
 * @Date: 2025-06-12 17:11
 **/
@Data
public class QueryOrderByOutTradeNoRequest {
    /** outTradeNo 说明：商户订单号 */
    @SerializedName("out_trade_no")
    @Expose(serialize = false)
    private String outTradeNo;

    /** spMchid 说明：服务商户号 */
    @SerializedName("sp_mchid")
    @Expose(serialize = false)
    private String spMchid;

    /** subMchid 说明：子商户号 */
    @SerializedName("sub_mchid")
    @Expose(serialize = false)
    private String subMchid;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class QueryOrderByOutTradeNoRequest {\n");
        sb.append("    outTradeNo: ").append(toIndentedString(outTradeNo)).append("\n");
        sb.append("    spMchid: ").append(toIndentedString(spMchid)).append("\n");
        sb.append("    subMchid: ").append(toIndentedString(subMchid)).append("\n");
        sb.append("}");
        return sb.toString();
    }
}
